//
//  LTSCalendarManager.h
//  LTSCalendar
//
//  Created by LTS on 2018/1/13.
//  Copyright © 2018年 LTS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LTSCalendarScrollView.h"
#import "LTSCalendarEventSource.h"

@interface LTSCalendarManager : NSObject
/// 周期 控件
@property (nonatomic, strong) LTSCalendarWeekDayView *weekDayView;
/// 日历
@property (nonatomic, strong) LTSCalendarScrollView *calenderScrollView;

@property (weak, nonatomic) id<LTSCalendarEventSource> eventSource;
/// 当前选择时间
@property (nonatomic, strong, readonly) NSDate *currentSelectedDate;

/**
 重新加载外观
 */
- (void)reloadAppearanceAndData;

/**
 回到今天
 */
- (void)goBackToday;


/**
 前一页 -- 上个月
 */
- (void)loadPreviousPage;


/**
 下一页 -- 下个月
 */
- (void)loadNextPage;


/**
 显示一周日历
 */
- (void)showSingleWeek;


/**
 显示所有日历
 */
- (void)showAllWeek;

@end
